﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MODEL;

namespace Service
{
    public interface IStationServcie
    {
        Task<IEnumerable<StationInfo>> QueryStationsAsync(StationQueryCriteria queryCriteria = null);

        Task<StationData> GetStationCountDataByIdAsync(string countDataId);

        Task<StationData> GetStationRealDataByIdAsync(string realDataId);

        Task<int> DeleteStations(List<int> stationIdList);

        Task<int> UpdateStationElementListAsync(int stationId, List<string> ElementCodes);

        Task<int> InsertOrUpdateStationAsync(StationInfo stationInfo);

        Task<int> MapUserWithStationAsync(string userId, List<StationInfo> stationInfos);
    }
}
